# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=phantomjs
pkgver=2.1.1
pkgrel=10
pkgdesc='Headless WebKit with JavaScript API.'
url='https://phantomjs.org/download.html'
license=('BSD')
arch=('x86_64' 'aarch64')
depends=('fontconfig')
options=('!strip')
source=("https://github.com/anam-hossain/phantomjs-linux-x86-binary/raw/master/bin/$pkgname")
#source=("https://github.com/ariya/phantomjs/releases/download/$pkgver/phantomjs")
sha512sums=('082079d7a437855b6b461d31660daf051d0e46c8c71a963046eceae689a4c5fac0e4ca62386cbe349c681c60c7e53c5ecee657c46ff95beff0818e97f37b4a5e')

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

